package com.gu.service.impl;

import com.gu.service.OssClients;
import entity.CommonResult;
import org.springframework.stereotype.Service;

/**
 * Description: 服务降级方法
 *
 * @Autor: Rolin
 * datetime: 05-30-8:54
 */
@Service
public class OssFileDegradeFeignClient implements OssClients {
    @Override
    public CommonResult deleteByUrl(String coverName) {
        System.out.println("oss服务降级");
        return CommonResult.error().data("444","Oss连接超时，进行服务降级");
    }
}
